package com.dupt.system.mapper;

import java.util.List;
import com.dupt.system.domain.MaterialList;

/**
 * 组装用料清单Mapper接口
 * 
 * @author zhuanyu.sun
 * @date 2025-07-05
 */
public interface MaterialListMapper
{
    /**
     * 查询组装用料清单
     * 
     * @param materialListId 组装用料清单主键
     * @return 组装用料清单
     */
    public MaterialList selectMaterialListByMaterialListId(Long materialListId);

    /**
     * 查询组装用料清单列表
     * 
     * @param materialList 组装用料清单
     * @return 组装用料清单集合
     */
    public List<MaterialList> selectMaterialListList(MaterialList materialList);

    /**
     * 新增组装用料清单
     * 
     * @param materialList 组装用料清单
     * @return 结果
     */
    public int insertMaterialList(MaterialList materialList);

    /**
     * 修改组装用料清单
     * 
     * @param materialList 组装用料清单
     * @return 结果
     */
    public int updateMaterialList(MaterialList materialList);

    /**
     * 删除组装用料清单
     * 
     * @param materialListId 组装用料清单主键
     * @return 结果
     */
    public int deleteMaterialListByMaterialListId(Long materialListId);

    /**
     * 批量删除组装用料清单
     * 
     * @param materialListIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMaterialListByMaterialListIds(Long[] materialListIds);
}
